package com.wh.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wh.springboot.common.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wh.springboot.common.entity.dto.UserDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author elsy
 * @since 2023-01-09
 */
public interface IUserService extends IService<User> {

    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    Page<User> findPage(Page<User> objectPage, String username, String nickname, String phone, String address);

}
